package com.spring.starter.aspectJ;

import com.spring.starter.CompactDisc;
import com.sun.org.apache.bcel.internal.generic.NEW;
import org.springframework.context.annotation.*;

/**
 * @author tonywang
 * @date 6/15/2018
 */
@Configuration
@EnableAspectJAutoProxy
@ComponentScan
@ImportResource("classpath:aspect-config.xml")
public class ConcertConfig {
    @Bean
    public Audience audience(){
        return new Audience();
    }
    @Bean
    public TestPerformance testPerformance(){
        return new TestPerformance();
    }
}
